import { App } from 'vue'

import formUtcString from '@/utils/date-format'
export default function registerProperties(app: App) {
  //定义全局格式化方法
  app.config.globalProperties.$filters = {
    formatTime(value: string) {
      return formUtcString(value)
    }
  }
}
